package cate.game.role.pvp.guildwar.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBGuildWar;
import cate.game.pvp.guildwar.data.msg.GWChampionInnerResp;
import cate.game.pvp.guildwar.data.msg.GWRoleRankInnerResp;
import easy.java.dev.note.NoteField;
import easy.java.practice.errorcode.EcResult;

@ClientMsg(title = "公会战 历届冠军 の 请求")
public class GuildWarChampionReq implements MsgInput {



    @Override
    public void execute(GameBody game, ClientContext cc) {
        GWChampionInnerResp resp = game.pvp.guildWar.getMessagingModule().getChampion();
        cc.getRole().sendNow(new GuildWarChampionResp(resp.champions));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBGuildWar.CHAMPION_REQ;
    }
}
